<div class="tabbable tabs-left">
    <ul class="nav nav-tabs">

        <li class="active"><a href="#tabOM1" data-toggle="tab">Pregunta</a></li>
        <li><a href="#tabOM2" data-toggle="tab">Validacion</a></li>

    </ul>
    <?php
    $attributes = array('class' => 'form-vertical','onsubmit' => 'fake_load();');
    echo form_open($url, $attributes);
    ?> 
    <div class="tab-content">
              <div class="tab-pane active" id="tabOM1">
                    <div class="control-group">
                        
                        <div class="pull-right">
                            <div class="btn-group">
                              <a class="btn btn-success add" onclick="addCheck(this);"><i class="icon-plus"></i></a>
                              <a class="btn quit" onclick="quitCheck(this);"><i class="icon-minus"></i></a>
                              <a class="btn other" onclick="addOther(this,4);" title="Otro"><i class="icon-text-width"></i></a>
                        </div>
                            
                     
                   </div>
                        <Select id="secuencia" name="secuencia" class="inputs">
                            <?php for($i=$total + 1;$i>0;$i--) { ?>
                            <option value="<?php echo $i ;?>"><?php echo $i ;?></option>                            
                            <?php }?>
                        </Select>
                        <input name="txtEncabezado" required=""  title="Escribir Pregunta." placeholder="Pregunta" <?php echo $edit; ?>class="control-label editables inputs">
                        <input name="txtSubEncabezado" placeholder="Informacion" <?php echo $edit; ?>class="control-label editables inputs">
                        <div id="checkGrup" class="controls">
                            <div><input type="checkbox" name="group1" disabled="" > <input required=""  title="Llenar Opcion." name="txtopc1" placeholder="Opcion 1" class="control-label editables1"><br></div>
                            <div><input type="checkbox" name="group1" disabled="" > <input required=""  title="Llenar Opcion." name="txtopc2" placeholder="Opcion 2" class="control-label editables1"><br></div>                      
                        </div>
                        
                    </div>
                </div>
            <div class="tab-pane" id="tabOM2">
                <label>Requerido</label><input type="checkbox" name="txtRequerido" class="inputs"/>  <br/>                     
                <label>Maximo Seleccionadas</label><br/><input type="number" class="inputs" name="txtselect" required=""  title="Llenar campo." value="2"/> <br/>                  
                <input type="text" class="options" name="txtopcionesM" style="display:none;" value="2"/>
               
        </div>

    </div>

</div>

